package com.ys.zero.dao;

import java.util.List;

import org.junit.Test;

import com.ys.zero.bean.Video;
import com.ys.zero.util.DBHelper;

public class VideoDao {
	//根据主码显示视频
	public List<Video> showVideo(int vid) {
		String sql = "select * from video where vid = ? ";
		return DBHelper.query(sql, Video.class, vid);
	}
	
	
	
}
